
.form-field-error {
    color: #B94A48;
}

/*
.z_validation_message {
    background-color: #F2DEDE;
    border-color: #EED3D7;
    color: #B94A48;
    margin-left: 9px;
    margin-bottom: 9px;
    display: inline-block;
    vertical-align: middle;
    padding: 5px 9px;
    #3L > .border-radius(@radiusBlockElement);
}
*/

form.form-horizontal .z_validation_message {
    margin-bottom: 0;
}

textarea,
input {
    &.form-field-error {
        background: #ffeeee;
    }
}

// file input buttons have varying heights on different platforms
input.form-control[type=file] {
    height: auto;
}

// https://stackoverflow.com/a/29806043/457795
// Create a gray placeholder for selects
select:required:invalid {
    color: gray;
}
option[value=""][disabled] {
    display: none;
}
option {
    color: black;
}
